package cn.edu.zxj.product.service.service;

import cn.edu.zxj.product.service.mapper.ProductMapper;
import cn.edu.zxj.productapi.model.ProductInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 * Description：
 *
 * @author: zxj
 * @date: 2024-09-28
 * @time: 12:49:04
 */
@Service
public class ProductService {
    @Autowired
    private ProductMapper productMapper;

    public ProductInfo getProductInfo(Integer id) {
        return productMapper.selectProductInfoById(id);
    }
}
